﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DispatchList.aspx.cs" Inherits="IYAKASAPortal.Dispatch.DispatchList" %>

<%@ Register Assembly="gfPage" Namespace="gfPage" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>成都弥荣科技发展有限公司--检测状态列表</title>
<link rel="stylesheet" href="../support/tfNiceTable/tfNiceTable.css"/>
<script type="text/javascript" src="../support/tfNiceTable/tfNiceTable.js"></script>
    <style type="text/css">
        .auto-style1 {
            width: 20%;
            height: 18px;
        }
    </style>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<script type="text/javascript">
    function doAjaxShow() {
        document.getElementById("divNiceTableMessage").style.left = window.parent.document.getElementById("mainContentFrame").scrollWidth / 2 - 200;
        document.getElementById("divNiceTableMessage").style.top = window.parent.document.getElementById("mainContentFrame").scrollHeight / 2 - 15;
        document.getElementById("divNiceTableMessage").style.display = "block";
    }
</script>
<input type="hidden" id="txtUniqueKey" name="txtUniqueKey" value="" />
<div id="divNiceTableMessage" class="tfNiceTableMessage" style="display:none;">正在处理...</div>
<table border="0" width="100%" cellpadding="0" cellspacing="0" style="height:25px;">
<tr>
    <td class="main_title_left"></td>
    <td class="main_title_center">&nbsp;成都弥荣科技发展有限公司--检测状态列表</td>
    <td class="main_title_right"></td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="mainWidth">
<tr>

    <td>
        <table class="table_without_border">
            <tr>
                
	            <td>
                     <img src="../support/tfNiceTable/images/tfNiceTable_Search.gif" alt="" />
                    选择项目
                    <asp:DropDownList ID="DropDownListSelect" runat="server" Width="111px" AutoPostBack="True" OnSelectedIndexChanged="DropDownListSelect_SelectedIndexChanged">
                          <asp:ListItem >全部</asp:ListItem>
                          <asp:ListItem >安检</asp:ListItem>
                          <asp:ListItem >综检</asp:ListItem>
                          <asp:ListItem >环保</asp:ListItem>
                         
                    </asp:DropDownList>
                    &nbsp;
                    <img src="../support/tfNiceTable/images/tfNiceTable_Search.gif" alt="" />
                    关键字<asp:TextBox ID="txtKeywords" runat="server"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" Text="" CssClass="btnSearch" OnClientClick="doAjaxShow();" OnClick="btnSearch_Click" />
                    <asp:Button ID="btnSearchAll" runat="server" Text="" CssClass="btnSearchAll" OnClientClick="doAjaxShow();" OnClick="btnSearchALL_Click" />
                </td>
                <td align="right">
                   
                      <asp:Button ID="btnUpdate" runat="server" Text="" Visible="false"  CssClass="btnUpdateEnabled" OnClientClick="doAjaxShow();" OnClick="btnUpdate_Click" Height="21px" Width="63px"/>
                    <asp:Button ID="btnDelete" runat="server" Text="" Visible="false" CssClass="btnDeleteEnabled" OnClientClick="return confirm('确定要删除当前选中记录?');doAjaxShow();" OnClick="btnDelete_Click" />
                </td>
            </tr>
        </table>
        <table border="1" cellspacing="0" cellpadding="3" class="tfNiceTable">
        <thead>
        <tr align="center" class="tfNiceTable_head_style">
             <td align="center" class="tfNiceTable_head_topleft"></td>
             <td class="auto-style1">ID</td>
             <td class="auto-style1">号牌号码</td>
             <td class="auto-style1">号牌种类</td>
             <td class="auto-style1">检验类别</td>
             <td class="auto-style1">检测状态</td>
        </tr>
        </thead>
        <tbody>
        <asp:Repeater id="rptList" runat="server">
        <ItemTemplate>
        <tr style="cursor:pointer;" onmouseover="doMouseOver(this);" onmouseout="doMouseOut(this);" onclick="setSelectedRowData(this,'<%# DataBinder.Eval(Container.DataItem, "ID")%>');">
            <td align="center" class="tfNiceTable_body_arrow"><img src="../support/tfNiceTable/images/tfNiceTable_Pointer.gif" alt="" /></td>
            <td align="center"><%# DataBinder.Eval(Container.DataItem, "ID")%></td>
            <td align="center"><%# DataBinder.Eval(Container.DataItem, "HPHM")%></td>
            <td align="center"><%# DataBinder.Eval(Container.DataItem, "HPZL")%></td>
            <td align="center"><%# DataBinder.Eval(Container.DataItem, "JYLB")%></td>
            <td align="center"><%# DataBinder.Eval(Container.DataItem, "JCZT_STATUS")%></td>
        </tr>
        </ItemTemplate>
        </asp:Repeater>
        </tbody>
        <tr>
            <td align="right" colspan="6"><cc1:GreatPager id="GreatPager1" runat="server" GenerateNumber="true" onpageindexchanging="GreatPager1_PageIndexChanging" ></cc1:GreatPager></td>
        </tr>
    </table>
    <br />
    </td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</form>
</body>
</html>
